<?php
/**
 * SaleViewModel
 *
 * @author Mike Gao
 */
class Product_mapViewModel extends ViewModel{
    protected $pk  = 'Product_map.id';

    public $viewFields = array(
    	'Product_map' => array('*'),
        'Common_product' => array('name', '_on' => 'Product_map.my_number = Common_product.id'),
    );


}
?>
